﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Web.Services;
using System.Web.Services.Protocols;
using KPIS.GERP.GFMS.IBLL;
using KPIS.GERP.GFMS.BLL;
using KPIS.GERP.GFMS.MODEL;

namespace KPIS.GERP.GFMS.SERVICE
{
    /// <summary>
    /// Summary description for Service1
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class BGM_ProjectExpense : System.Web.Services.WebService
    {
        IBLL_BGM_ProjectExpense bll = new B_BGM_ProjectExpense();

        [WebMethod]
        public List<M_BGM_ProjectExpense> GetFull(string bgm_proj_seq
            , string bgm_source_seq, string bgm_exp_grp_seq)
        {
            return (List<M_BGM_ProjectExpense>)bll.GetFull(bgm_proj_seq
            , bgm_source_seq, bgm_exp_grp_seq);
        }

        [WebMethod]
        public List<M_BGM_ProjectExpense> GetList(string bgm_proj_seq
            , string bgm_source_seq, string bgm_exp_grp_seq)
        {
            return (List<M_BGM_ProjectExpense>)bll.GetList(bgm_proj_seq
                , bgm_source_seq, bgm_exp_grp_seq);
        }

        [WebMethod]
        public M_BGM_ProjectExpense GetInfo(string seq)
        {
            return bll.GetInfo(seq);
        }

        private void InitializeComponent()
        {

        }
    }
}
